package com.demo;

import org.apache.log4j.Logger;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.boot.autoconfigure.orm.jpa.HibernateJpaAutoConfiguration;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.context.annotation.ImportResource;


@SpringBootApplication
@ImportResource({ "classpath:config/spring-dubbo.xml" })
@ServletComponentScan
public class AppClient {

	private static Logger logger = Logger.getLogger(AppClient.class);

	public static void main(String[] args) {
		SpringApplication.run(AppClient.class, args);
		logger.info("SpringBoot Start Success");
	}

}
